package com.woniuxy.admin.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 修改仓库参数
 */
@Data
@ApiModel("修改仓库参数")
public class UpdatePawnWarehouseForm {
    /*
    仓库Id
     */
    @ApiModelProperty("仓库Id")
    @NotNull
    private Integer warehouseId;
    /*
    仓库名称
     */
    @ApiModelProperty("仓库名称")
    @NotBlank
    private String whName;
    /*
    仓库联系人
     */
    @ApiModelProperty("仓库联系人")
    @NotBlank
    private String contact;
    /*
    仓库联系电话
     */
    @ApiModelProperty("仓库联系电话")
    @NotBlank
    private String whPhone;
    /*
    仓库地址
     */
    @ApiModelProperty("仓库地址")
    @NotBlank
    private String address;
}
